package com.example.smartgreenhouse.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@MapperScan("com.example.smartgreenhouse.mapper")  // 确保扫描到Mapper包
public class MybatisPlusConfig {
    // 原有分页插件等配置不变...
}